Skip to content

fix: require Node 22.19, the floor undici 8 already needs - #299

Merged
Ash20pk merged 2 commits into
mainfrom
fix/node-22-19-floor
Oct 25, 2026
Merged

Ash20pk merged 2 commits into
mainfrom
fix/node-22-19-floor

Conversation

@Ash20pk

@Ash20pk Ash20pk commented Oct 25, 2026

Copy link
Copy Markdown
Owner

The SDK and tls depend on undici 8, and every undici 8 release needs Node 22.19 or later. On anything older it fails to load, so on Node 22.14 importing the SDK crashes. Our engines said >=22, so npm installed without a word on 22.0 to 22.18 and then it broke at runtime. v0.2.4 has the same gap.

This raises engines to >=22.19 in every package and updates the docs that said Node 22+. Nothing else changes; CI already runs on the latest 22.

Ash20pk and others added 2 commits October 25, 2026 21:16
@berthos/sdk and @berthos/tls depend on undici 8, whose every release
declares node >=22.19.0 and fails to load on older 22.x. Our engines
said >=22, so npm installed cleanly on 22.0 to 22.18 and the SDK then
crashed on import. Raise every package's floor and the docs to match.
@Ash20pk
Ash20pk merged commit dd1ca33 into main Oct 25, 2026
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant